{% extends 'index.html' %}


{% block style_content %}
    <style>

        .card {
          margin-top: 300px;
        }
    </style>
{% endblock %}

{% block content %}
    <div class="accountbg"></div>
    <div class="wrapper-page">
        <div class="card">
            <div class="card-body">
                <div class="text-center m-b-20">
                    <strong style="font-size: 20px;">选择模型</strong>
                </div>
                <div class="p-3">
                    <form class="form-horizontal" action="{% url 'predict:select_mode' %}" method="post">
                        {% csrf_token %}
                        <div class="form-group row">
                            <div class="col-md-12">
                                <select name="select_mode" class="select2 form-control mb-3 custom-select select2-hidden-accessible" style="width: 100%; height:36px;" tabindex="-1" aria-hidden="true">
                                    <option value="our">本系统的模型</option>
                                    <option value="your">在线训练的模型</option>
                                </select>
                             </div>
                        </div>
                        <div class="form-group text-center row m-t-20">
                            <div class="col-6">
                                <button class="btn btn-danger btn-block waves-effect waves-light" type="submit">
                                    确认
                                </button>
                            </div>
                            <div class="col-6">
                                <a class="btn btn-danger btn-block waves-effect waves-light" href="{% url 'predict:upload' %}" style="color: white;">
                                    取消
                                </a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
{% endblock %}


{% block script_content %}
<script src="/static/js/console-ban.min.js"></script>
{% endblock %}